<meta name="viewport" content="width=device-width, initial-scale=1">

<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../../assets/img/favicon-144.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../../assets/img/favicon-72.png">
<link rel="apple-touch-icon-precomposed" href="../../assets/img/favicon-32.png">
<link rel="shortcut icon" href="../../assets/img/favicon-32.png">

<link rel="stylesheet" href="../../assets/css/vk.css"/>
<link rel="stylesheet" href="../../assets/css/prism.css"/>


<vk-title>vkCmdWaitEvents | NVK</vk-title>

<vk-centered>

  <vk-navigation>
  <vk-search-title>Search</vk-search-title>
  <vk-search>
    <input type="text" id="search" autocomplete="off" />
    <vk-search-results>
      <ol id="search-list">
        <li id="no-search-results">No Results</li>
      </ol>
    </vk-search-results>
  </vk-search>
  <vk-section-title style="margin-top: 1em;">Categories</vk-section-title>
  <vk-categories></vk-categories>
</vk-navigation>


  <vk-struct>

    <vk-name>vkCmdWaitEvents</vk-name>

    <vk-description>Wait for one or more events and insert a set of memory</vk-description>

    <vk-section-title>Syntax</vk-section-title>
    <vk-syntax>
      <pre><code class="language-js">void vkCmdWaitEvents();
</code></pre>
    </vk-syntax>

    <vk-section-title>Parameters</vk-section-title>

    <vk-properties>
      <vk-property-entry>
        <vk-property-parameter>commandBuffer</vk-property-parameter>
        <vk-property-type type="object"><a href="../handles/VkCommandBuffer.html">VkCommandBuffer</a></vk-property-type>
        <vk-property-description> is the command buffer into which the command is recorded.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>eventCount</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>pEvents</vk-property-parameter>
        <vk-property-type type="array">Array<vk-property-type type="object">[<a href="../handles/VkEvent.html">VkEvent]</a></vk-property-type></vk-property-type>
        <vk-property-description> is an array of event object handles to wait on.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>srcStageMask</vk-property-parameter>
        <vk-property-type type="number"><a href="../enums/VkPipelineStageFlagBits.html">VkPipelineStageFlagBits</a></vk-property-type>
        <vk-property-description> is a bitmask of <b>VkPipelineStageFlagBits</b> specifying the <<synchronization-pipeline-stages, source stage mask>>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>dstStageMask</vk-property-parameter>
        <vk-property-type type="number"><a href="../enums/VkPipelineStageFlagBits.html">VkPipelineStageFlagBits</a></vk-property-type>
        <vk-property-description> is a bitmask of <b>VkPipelineStageFlagBits</b> specifying the <<synchronization-pipeline-stages, destination stage mask>>.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>memoryBarrierCount</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description></vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>pMemoryBarriers</vk-property-parameter>
        <vk-property-type type="array">Array<vk-property-type type="object">[<a href="../structs/VkMemoryBarrier.html">VkMemoryBarrier]</a></vk-property-type></vk-property-type>
        <vk-property-description> is an array of <b><a href="../structs/VkMemoryBarrier.html">VkMemoryBarrier</a></b> structures.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>bufferMemoryBarrierCount</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the length of the <b>pBufferMemoryBarriers</b> array.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>pBufferMemoryBarriers</vk-property-parameter>
        <vk-property-type type="array">Array<vk-property-type type="object">[<a href="../structs/VkBufferMemoryBarrier.html">VkBufferMemoryBarrier]</a></vk-property-type></vk-property-type>
        <vk-property-description> is an array of <b><a href="../structs/VkBufferMemoryBarrier.html">VkBufferMemoryBarrier</a></b> structures.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>imageMemoryBarrierCount</vk-property-parameter>
        <vk-property-type type="number">Number</vk-property-type>
        <vk-property-description> is the length of the <b>pImageMemoryBarriers</b> array.</vk-property-description>
      </vk-property-entry>
      <vk-property-entry>
        <vk-property-parameter>pImageMemoryBarriers</vk-property-parameter>
        <vk-property-type type="array">Array<vk-property-type type="object">[<a href="../structs/VkImageMemoryBarrier.html">VkImageMemoryBarrier]</a></vk-property-type></vk-property-type>
        <vk-property-description> is an array of <b><a href="../structs/VkImageMemoryBarrier.html">VkImageMemoryBarrier</a></b> structures.</vk-property-description>
      </vk-property-entry>
      
    </vk-properties>

  </vk-struct>

</vk-centered>

<script>
const IS_ROOT = false;
</script>

<script type="text/javascript" src="../../assets/js/prism.min.js"></script>
<script type="text/javascript" src="../../assets/js/index.js"></script>
